<?php

namespace app\api\controller;

use think\Controller;

class Father extends Controller
{

    public function initialize()
    {
        header("Access-Control-Allow-Origin: * ");
        header("Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE");

    }

}
